let app = getApp();
Page({

  /**
   * 页面的初始数据
   */
  data: {
    radioItems: [
      {name: '低俗色情', value: '1'},
      {name: '非法政治', value: '2'},
      {name: '出售假冒或违禁商品', value: '3'},
      {name: '引导线下或其他平台交易', value: '4'},
      {name: '侵权盗播', value: '5'},
      {name: '长期空镜或换人直播', value: '6'},
      {name: '其他', value: '7'},
    ],
    typeId:0,
    id:''
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    this.data.id = options.id
  },
  radioChange(e){
    //e.detail.value
    wx.redirectTo({
    // wx.navigateTo({
      url:'/cheng/pages/complaint/txt/txt?id='+this.data.id+'&type='+e.detail.value
    })
  },
})